#Region "Imports"

Imports System
Imports System.Data
Imports System.Configuration
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Web.UI.HtmlControls

Imports MetaSapiens.PageMethods

#End Region

Partial Public Class FrmAddOrder_WithPageMethods
    Inherits MetaSapiens.PageMethods.BasePageWithDefaultMethod
  <PageMethod(True)> _
  Public Sub Display(ByVal CustomerID As Integer, <ParamRequired()> ByVal ProductID As String)
    ' Validation is done automatically
    ' Page processing can start immediately!

    Label1.Text = String.Format("Ready to add an order of product {0} for customer {1}.", _
     ProductID, CustomerID)
  End Sub
End Class